package com.leyou.item.service.port;

import com.leyou.common.vo.PageResult;
import com.leyou.item.dto.BrandDTO;

import java.util.List;


public interface IBrandService {
    PageResult<BrandDTO> queryBrandByPage(Integer page, Integer rows, String key, String sortBy, Boolean desc);

    void saveBrand(BrandDTO brand, List<Long> ids);

    void updateBrand(BrandDTO brand, List<Long> ids);

    BrandDTO queryById(Long id);

    List<BrandDTO> queryByCategoryId(Long cid);

    List<BrandDTO> queryBrandByIds(List<Long> bids);
}

